﻿using System;

namespace Inovout.Caching
{
    public interface ICache<TKey, TValue> : ICache
    {
        void Set(TKey key, TValue value);
        TValue Get(TKey key);
        TValue AddOrGet(TKey key, Func<TValue> creator);
    }
}
